package com.cyh.core.generator;

import javax.validation.constraints.NotNull;

import com.cyh.core.framework.common.constant.FileConstant;
import com.cyh.core.framework.common.utils.FileUtil;

/**
 * @Author: yanhang_chen
 * @Date: 2020-09-22 14:10:17
 */
public class GeneratorDEMO {
    /*
    public static void begin() {

        // demo ：向桌面生成User的entity
        String packageName = "com.cyh.core.login.entity";
        String tableName = "User";
        String outPutFilePath = FileUtil.getRealPath(System.getProperty("user.home")+"/desktop");
        DatabaseGenerator.generatorEntity(packageName,tableName,outPutFilePath);

        // demo ：向桌面生成User的repository
        RepositoryGenerator.generatorRepository("com.cyh.core.login.repository",
                tableName,packageName,"Integer",outPutFilePath);

        System.out.println("OK");
    }
     */
}
